//
//  BMUtils.h
//  Rail
//
//  Created by hychen on 2018/3/14.
//  Copyright © 2018年 Hychen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "UIAlertView+BlocksKit.h"

@interface BMUtils : NSObject
/// 检查4g上传
+ (BOOL)checkOpen4gAutoUploadWithCompletion:(void(^)())completion;
/// 检查4g播放视频
+ (BOOL)checkOpen4gPlayVideoWithCompletion:(void(^)())completion;
/// 检查4g下载视频
+ (BOOL)checkOpen4gDownloadVideoWithCompletion:(void(^)())completion;

+ (UIColor *)colorWithString:(NSString *)colorString;

+ (NSString *)chineseYYYYMMDDHHmmWithServiceTime:(NSString *)time;
+ (NSString *)chineseMMDDHHmmWithServiceTime:(NSString *)time;
+ (NSString *)formatTimeWithServiceTime:(NSString *)time;
@end
